/*****************************************************************
*
*	Netcare Agent Project
*		Copyright(C) 2010, Wicresoft EKA. All Rights Reserved.
*
*	Authors:
*		TingRong Shi (trshi@wicresoft.com)
*
*	Part of the product code depends on gSOAP under GPL license
*		Copyright(C) 2000-2010, Robert van Engelen, Genivia Inc. All Rights Reserved.
*
*****************************************************************/

#pragma once
#include <vector>

#include "ns.h"

NETCARE_AGENT;

USING_STD;
class CDiskRelease
{
public:

	void * hThread;
	unsigned long dwExit;
	CDiskRelease(void);
	~CDiskRelease(void);
	int DiskDefrag(int Commend);
	
private:
	bool GetThreadStat();

};
#ifdef WIN32

unsigned long __stdcall DefragCmd (void* lpThreadParameter);
void WriteLog(char * log);
#else
#endif
ENDNS ENDNS